package com.complex.spring.advance.service.messagesource;

import java.util.EventObject;

/**
 * 自定义事件类型
 * @see HttpSessionEvent
 * @author gao
 *
 */
public class MethodExecutionEvent extends EventObject{

	private static final long serialVersionUID = 9049602356644842132L;
	private String methodName;//方法名称
	
	public MethodExecutionEvent(Object source) {
		super(source);
	}
	
	public MethodExecutionEvent(Object source,String method) {
		super(source);
		this.methodName = method;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}
}
